package com.hqu.ms;


import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;

import com.actionbarsherlock.app.SherlockFragmentActivity;
import com.googlecode.androidannotations.annotations.AfterViews;
import com.googlecode.androidannotations.annotations.EActivity;


@EActivity(R.layout.ms_about_layout)
public class AboutUsActivity extends SherlockFragmentActivity{
	
	
	@AfterViews
	void afterViewInjected(){
		FragmentManager manager  = getSupportFragmentManager();
		Fragment fragment = AboutFragment_.builder().build();
		manager.beginTransaction().replace(R.id.main_layout, fragment).commit();
	}
	
	@Override
	public void onBackPressed() {
		super.onBackPressed();
		finishThis();
		
		
	}
	
	
	
	public void finishThis(){
		finish();
		overridePendingTransition(R.anim.base_slide_left_in, R.anim.base_slide_right_out);
		
	}
	
}
